DicomObjects.NET8 Documentation
DicomObjects Namespace / DicomAssociation Class / SendResponse Method / SendResponse(IEnumerable<DicomDataSet>,Int32) Method

A DataSet Collection to be returned to the requesting application, with each DataSet describing a single successful match

The status associated with the above data, indicating the level of matching achieved




In This Topic
    SendResponse(IEnumerable<DicomDataSet>,Int32) Method
    In This Topic
    Returns results to a C-FIND request
    Syntax
    'Declaration
     
    
    <ObsoleteAttribute("This method should be replaced by QueryReceivedArgs.SendResponse (e.SendResponse) which also handles DICOM Asynchronous operations")>
    Public Overloads Sub SendResponse( _
       ByVal Data As IEnumerable(Of DicomDataSet), _
       ByVal Status As Integer _
    ) 
    'Usage
     
    
    Dim instance As DicomAssociation
    Dim Data As IEnumerable(Of DicomDataSet)
    Dim Status As Integer
     
    instance.SendResponse(Data, Status)
    [Obsolete("This method should be replaced by QueryReceivedArgs.SendResponse (e.SendResponse) which also handles DICOM Asynchronous operations")]
    public void SendResponse( 
       IEnumerable<DicomDataSet> Data,
       int Status
    )
    [Obsolete("This method should be replaced by QueryReceivedArgs.SendResponse (e.SendResponse) which also handles DICOM Asynchronous operations")]
    public:
    void SendResponse( 
       IEnumerable<DicomDataSet^>^ Data,
       int Status
    ) 

    Parameters

    Data

    A DataSet Collection to be returned to the requesting application, with each DataSet describing a single successful match

    Status

    The status associated with the above data, indicating the level of matching achieved

    Remarks

    The data returned by this method is sent to the requesting application as a series of C-FIND responses, each with the status indicated. Once all matches have been returned, a final SendResponse call should be made to terminate the list.

    As the status for all returned matches must be "Pending", only the values 0xFF00 and 0xFF01 are allowed for Status, the meanings being as follows:

    • 0xFF00 : "Optional Keys were supported in the same manner as Required Keys"
    • 0xFF01 : "Warning that one or more Optional Keys were not supported for existence and/or matching for this Identifier"
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also